package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: PREETHI
 * Date: 14/5/13
 * Tim8e: 7:14 PM
 * To change this template use File | Settings | File Templates.
 */
import java.util.*;

public class category {
       private String categoryName;
    private int categoryId;
    private List bookList=new ArrayList();
       public  category(String name,int id)
       {
           this.setCategoryName(name);
           this.setCategoryId(id);
       }
         public String getCategoryName()
         {
             return this.categoryName;
         }


    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public int getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(int categoryId) {
        this.categoryId = categoryId;
    }

    public List getBookList() {
        return bookList;
    }

    public void setBookList(List bookList) {
        this.bookList = bookList;
    }
}
